package com.cgnpc.scp.sri.budget.service;

import com.cgnpc.cud.core.domain.AjaxResult;
import com.cgnpc.scp.common.bean.CreateFileInfo;
import com.cgnpc.scp.common.bean.MyPageResult;
import com.cgnpc.scp.sri.budget.mybatis.entity.BudgetInfo;
import com.cgnpc.scp.sri.budget.pojo.Expense;

import java.util.List;
import java.util.Map;

public interface BudgetInfoService {

    MyPageResult<BudgetInfo> queryListPage(Map<String, Object> params);

    List<String> getAllYear();

    AjaxResult save(BudgetInfo budgetInfo);

    AjaxResult update(BudgetInfo budgetInfo);

    AjaxResult budgetInfo(String id);

    Expense getLeftByYear(String year);

    CreateFileInfo exportExcel(Map<String, Object> params) throws Exception;
}
